package huoye.shops.huoye.mine.model;

import android.widget.Toast;

import com.codeideology.android.lang.entity.Pojo;
import com.google.gson.annotations.SerializedName;

import java.util.List;

import huoye.shops.base.MyPojo;

/**
 * Created by who on 2018/8/21.
 */

public class ShopDetials extends MyPojo {

    @SerializedName("address")
    private String address;
    @SerializedName("area")
    private String area;
    @SerializedName("balance")
    private String balance;
    @SerializedName("city")
    private String city;
    @SerializedName("contactName")
    private String contactName;
    @SerializedName("contactTel")
    private String contactTel;

    @SerializedName("focusNum")
    private String focusNum;

    @SerializedName("latitude")
    private String latitude;

    @SerializedName("longitude")
    private String longitude;

    @SerializedName("precision")
    private String precision;

    @SerializedName("province")
    private String province;

    @SerializedName("shopLogo")
    private String shopLogo;

    @SerializedName("shopName")
    private String shopName;

    @SerializedName("starLevel")
    private int starLevel;

    @SerializedName("virtualFoc")
    private String virtualFoc;

    @SerializedName("detialsImg")
    List<detialsImg> detialsImg;

    @SerializedName("faceImg")
    List<detialsImg> faceImg;


    @SerializedName("shopEndTime")
    private String shopEndTime;

    //	商铺版本，0：未知；1：基础版；2：豪华版
    @SerializedName("shopVersion")
    private int shopVersion;


    public String getShopEndTime() {
        return shopEndTime;
    }

    public void setShopEndTime(String shopEndTime) {
        this.shopEndTime = shopEndTime;
    }

    public Boolean isBasicsVersion(){
        if(shopVersion == 2){
            return false;
        }
        return true;
    }


    public String getJointAddress(){
        return getProvince()+getCity()+getAddress();
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public List<huoye.shops.huoye.mine.model.detialsImg> getDetialsImg() {
        return detialsImg;
    }

    public void setDetialsImg(List<huoye.shops.huoye.mine.model.detialsImg> detialsImg) {
        this.detialsImg = detialsImg;
    }

    public List<huoye.shops.huoye.mine.model.detialsImg> getFaceImg() {
        return faceImg;
    }

    public void setFaceImg(List<huoye.shops.huoye.mine.model.detialsImg> faceImg) {
        this.faceImg = faceImg;
    }

    public String getFocusNum() {
        return focusNum;
    }

    public void setFocusNum(String focusNum) {
        this.focusNum = focusNum;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getPrecision() {
        return precision;
    }

    public void setPrecision(String precision) {
        this.precision = precision;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getStarLevel() {
        return starLevel;
    }

    public void setStarLevel(int starLevel) {
        this.starLevel = starLevel;
    }

    public String getVirtualFoc() {
        return virtualFoc;
    }




    public void setVirtualFoc(String virtualFoc) {
        this.virtualFoc = virtualFoc;
    }


}
